package com.sedshop.shop;/**
 * Created by Administrator on 2016/4/21.
 */

import android.app.Activity;

import com.sedshop.shop.library.constant.AppConfig;
import com.umeng.analytics.MobclickAgent;

/**
 * 作者：Administrator on 2016/4/21 17:05
 * 邮箱：314960314@qq.com
 */
public class BaseActivity extends Activity {

    public void onResume() {
        super.onResume();
        MobclickAgent.onResume(this); //统计时长
        String simpleName = this.getClass().getSimpleName();
        MobclickAgent.onPageStart(AppConfig.getChineseName(simpleName)); // 统计页面
    }
    public void onPause() {
        super.onPause();
        MobclickAgent.onPause(this); //统计时长
        String simpleName = this.getClass().getSimpleName();
        MobclickAgent.onPageStart(AppConfig.getChineseName(simpleName)); // 统计页面
    }

//    public void initView(){
//
//    }

}
